package com.ysstech.system.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ysstech.common.entity.Region;
import com.ysstech.system.mapper.RegionMapper;
import com.ysstech.system.service.RegionService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  按钮服务实现类
 * </p>
 *
 * @author lishuangliang
 * @since 2020-09-12
 */
@Service
public class RegionServiceImpl extends ServiceImpl<RegionMapper, Region> implements RegionService {

    @Override
    public List<Region> queryRegionByRoleId(String roleId) {
        return  this.getBaseMapper().queryRegionByRoleId(roleId);
    }
}
